﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Doi.Master" AutoEventWireup="true" CodeBehind="ThongTinHoatDong.aspx.cs" Inherits="GroupManager.ThongTinHoatDong"  %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <style>
        .new-info-btn {
            float: right;
            margin-right: 20px;
        }
    </style>
    <h2>Các hoạt động của đội</h2>
   
            <asp:DataList ID="DataList1" runat="server" OnItemCommand="DataList1_ItemCommand">
                <ItemTemplate>
                    <div class="wrapper1">
                        <div class="new">
                            <div class="new-img">
                                <asp:ImageButton Width="100px" Height="100px" ID="ImageButton1" runat="server" ImageUrl='<%# Eval("Anh") %>' />

                            </div>

                            <div class="new-text">
                                <div class="new-text-title">
                                    Tên hoạt động:<asp:TextBox ID="TextBox1" runat="server" Text='<%# Eval("TenHoatDong") %>'></asp:TextBox>
                                </div>

                                <div class="new-text-details">
                                    Nội dung hoạt động:<asp:TextBox ID="TextBox2" runat="server" Text='<%# Eval("NoiDungHoatDong") %>'></asp:TextBox>
                                </div>

                                Thời gian:
                    <asp:TextBox ID="TextBox3" CssClass="abc" ReadOnly="true" runat="server" Text='<%# Eval("ThangHoatDong") %>'></asp:TextBox>
                            </div>
                        </div>
                        <!-- End new -->
                        <div class="new-btn">
                            <asp:LinkButton ID="Button1" runat="server" Text="Sửa" CommandArgument='<%# Eval("MaHoatDong") %>' CommandName="Button1" />
                            <asp:LinkButton ID="Button2" runat="server" Text="Xóa" OnClientClick="return confirm('Xác nhận xóa');" CommandArgument='<%# Eval("MaHoatDong") %>' CommandName="a" />
                        </div>

                    </div>
                    <hr />
                </ItemTemplate>
            </asp:DataList>

</asp:Content>

